import { checkNameForm } from "../commonFormRuler_string";
export default {
  component: {//展示型组件信息，每个组件的信息各不相同
    componentName: 'indexNum', // 组件名称
    settings: {// 对应的设置项， 可能不同组件设置也不尽相同。
      value: { 'indexNumRuleIssueCode': undefined, 'indexNumRuleBaseCateCode': undefined, 'indexNumRuleTopicCode': undefined, indexNumRuleIsValid: true },
      placeholder: '请选择',
      param: 'indexNum',
      rule: {
        required: false,
        validator: checkNameForm,
        trigger: ["chang", "blur"],
        message: '所属分组不能为空',
        api: "",
        key: 'siteDomain',
        params: {}, //校验传参
      },
      label: "",
      beforeText: '',
      afterText: '',
      marginLeft: 32,
      type: '',
      isBoolean: true,
      effectOptions: ['支持', '不支持'],
      codeOption: [{ label: '', value: undefined }],
      basicOption: [{ label: '', value: undefined }],
      topicOption: [{ label: '', value: undefined }],
      mode: 'single',
      associated: '',
      associatedValue: '',
    }

  }
}